projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d46b046
)
testsuite: Don't pass GDK_DEBUG for release builds
author
Matthias Clasen
<mclasen@redhat.com>
Sun, 28 Jun 2020 15:13:59 +0000
(11:13 -0400)
committer
Matthias Clasen
<mclasen@redhat.com>
Sun, 28 Jun 2020 17:42:02 +0000
(13:42 -0400)
The debug env vars are ignored in release builds,
and may spew warnings about that fact that break
tests.
testsuite/meson.build
patch
|
blob
|
history
diff --git
a/testsuite/meson.build
b/testsuite/meson.build
index b7b0061ae35386749943f3e73533bf1da2207fa4..47ce9a6134b5597663bd41189d39d8f49b66888f 100644
(file)
--- a/
testsuite/meson.build
+++ b/
testsuite/meson.build
@@
-9,12
+9,15
@@
diff = find_program('diff', required: true)
common_env = [
'GIO_USE_VOLUME_MONITOR=unix',
'GSETTINGS_BACKEND=memory',
- 'GDK_DEBUG=default-settings',
'GTK_CSD=1',
'G_ENABLE_DIAGNOSTIC=0',
'GSETTINGS_SCHEMA_DIR=@0@'.format(gtk_schema_build_dir),
]
+if get_option('debug')
+ common_env += [ 'GDK_DEBUG=default-settings' ]
+endif
+
add_test_setup ('x11',
is_default: true,
env: common_env + [